package com.hhd.flow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author tangzy
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("h_flow_gateway_execution")
public class FlowGatewayExecution implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 任务实例id
     */
    @TableField("task_instance_id")
    private String taskInstanceId;

    /**
     * 开始网关定义id
     */
    @TableField("start_gateway_definition_id")
    private String startGatewayDefinitionId;

    /**
     * 结束网关定义id
     */
    @TableField("end_gateway_definition_id")
    private String endGatewayDefinitionId;

    /**
     * 审批进度
     */
    @TableField("execute_count")
    private Integer executeCount;

    /**
     * 审批结束阈值
     */
    @TableField("execute_threshold")
    private Integer executeThreshold;

    /**
     * 流程定义id
     */
    @TableField("process_definition_id")
    private String processDefinitionId;

    /**
     * 流程实例id
     */
    @TableField("process_instance_id")
    private String processInstanceId;


}
